package com.liush.system.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.liush.model.controller.SysUser;
import com.liush.model.vo.SysUserQueryVo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author liush
 * @since 2023-02-25
 */
public interface SysUserService extends IService<SysUser> {

    Page<SysUser> selectPageUser(Page<SysUser> page, SysUserQueryVo sysUserQueryVo);

    void updateStatus(Long userId, Integer status);

    SysUser getByUserName(String username);

    Map getUserInfoByUserId(Long userId);

    List<String> getUserPermsBtnsByUserId(Long userId);
}
